package com.gduf.bbl.dao;

import com.gduf.bbl.entity.UserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * 
 * @author xqw
 * @email 2041411595@qq.com
 * @date 2024-02-29 20:38:49
 */
@Mapper
public interface UserDao extends BaseMapper<UserEntity> {

    int updateUser(@Param("username") String username, @Param("phone") String phone, @Param("userImg") String userImg, @Param("id") Integer id);

    String getUserImgByUserId(@Param("userId") Integer userId);
}
